require.config({
    shim: {
        jquery: {
            exports: 'jQuery'
        },
        underscore: {
            exports: "_"
        },
        backbone: {
            exports: "Backbone",
            deps: ["underscore", "jquery"]
        },
        marionette: {
            exports: 'Backbone.Marionette',
            deps: ['backbone']
        },
        "backbone.wreqr": {
            exports: 'Backbone.Wreqr',
            deps: ['backbone']
        }
    },
    paths: {
        jquery: "lib/jquery/jquery.min",
        underscore: "lib/underscore/underscore-min",
        backbone: "lib/backbone/backbone-min",
        requirejs: "lib/requirejs/requirejs.min",
        text: "lib/text/text.min",
        marionette: "lib/backbone.marionette/backbone.marionette.min",
        "backbone.wreqr": "lib/backbone.wreqr/backbone.wreqr.min"
    },
    deps: ['jquery', 'underscore']

});
require(["config", "app", "router"], function(Config, App, Router) {
    App.start();
//    console.log(Config.authenUrl);
});
